package com.etc.dao;

import java.util.List;

import com.etc.entity.Sdphoto;

public interface SdphotoMapper {
    int deleteByPrimaryKey(Integer spid);

    int insert(Sdphoto record);

    int insertSelective(Sdphoto record);

    Sdphoto selectByPrimaryKey(Integer spid);

    int updateByPrimaryKeySelective(Sdphoto record);

    int updateByPrimaryKey(Sdphoto record);
    //根据景点Id获取该景点的所有图片
    List<Sdphoto> selectBySid(int sid);
}